package com.aistar.pojo;


import org.springframework.stereotype.Repository;

@Repository
public class QuestionMember {
    //问表的信息和用户的信息
    private Question question;
    private Member member;

    public QuestionMember (){}

    public QuestionMember(Question question, Member member) {
        this.question = question;
        this.member = member;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    @Override
    public String toString() {
        return "QuestionMember{" +
                "question=" + question +
                ", member=" + member +
                '}';
    }
}
